Partner: P-31011 - Michelle Matthieu from 1011: Create
Natural Person As Partner| name | value |
|---|---|
| partnerName | Matthieu |
| phoneNumberKeyToAdd | mobile |
| phoneNumberToAdd | +49 152 1234567 |
HTTP GET "/api/hs/office/relations?relationType=PARTNER&personData=Matthieu" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
[ {
"uuid" : "854e89b8-2c77-48fd-b859-701dc7b18897",
"anchor" : {
"uuid" : "c43fc218-ae0e-4d6d-afc9-528d9861c2eb", // Person: Hostsharing eG
"personType" : "LEGAL_PERSON",
"tradeName" : "Hostsharing eG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "6e02bc9b-f056-4111-a571-960571fd7d99", // Person: Michelle Matthieu
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu"
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "df5801c0-49bd-4924-af68-3c4a8b37ae2a", // Contact: Michelle Matthieu
"caption" : "Michelle Matthieu",
"postalAddress" : {
"zipcode" : "22123",
"country" : "Germany",
"city" : "Hamburg",
"street" : "An der Wandse 34",
"name" : "Michelle Matthieu"
},
"emailAddresses" : {
"main" : "michelle@matthieu.example.org"
},
"phoneNumbers" : {
"office" : "+49 40 123456"
}
}
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
HTTP PATCH "/api/hs/office/contacts/df5801c0-49bd-4924-af68-3c4a8b37ae2a" // Contact: Michelle Matthieu \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }` \
<<EOF
{
"phoneNumbers" : {
"mobile" : "+49 152 1234567"
}
}
EOF
=> status: 200 OK
HTTP GET "/api/hs/office/relations?relationType=PARTNER&personData=Matthieu" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
[ {
"uuid" : "854e89b8-2c77-48fd-b859-701dc7b18897",
"anchor" : {
"uuid" : "c43fc218-ae0e-4d6d-afc9-528d9861c2eb", // Person: Hostsharing eG
"personType" : "LEGAL_PERSON",
"tradeName" : "Hostsharing eG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "6e02bc9b-f056-4111-a571-960571fd7d99", // Person: Michelle Matthieu
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu"
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "df5801c0-49bd-4924-af68-3c4a8b37ae2a", // Contact: Michelle Matthieu
"caption" : "Michelle Matthieu",
"postalAddress" : {
"zipcode" : "22123",
"country" : "Germany",
"city" : "Hamburg",
"street" : "An der Wandse 34",
"name" : "Michelle Matthieu"
},
"emailAddresses" : {
"main" : "michelle@matthieu.example.org"
},
"phoneNumbers" : {
"mobile" : "+49 152 1234567",
"office" : "+49 40 123456"
}
}
} ]
generated on 2026-08-10 04:42:23 for branch HEAD